/***************************************************************
 * Name:      TestWx1App.cpp
 * Purpose:   Code for Application Class
 * Author:    Roman Navarro (rnavarro@robotnik.es)
 * Created:   2012-02-16
 * Copyright: Roman Navarro ()
 * License:
 **************************************************************/

#include "TestWx1App.h"

//(*AppHeaders
#include "TestWx1Main.h"
#include <wx/image.h>
//*)

IMPLEMENT_APP(TestWx1App);

bool TestWx1App::OnInit()
{
    int argc = 1;
	char *argv[10] = {"listener"};
    ros::init(argc, argv, "listener");

    //(*AppInitialize
    bool wxsOK = true;
    wxInitAllImageHandlers();
    if ( wxsOK )
    {
    	TestWx1Frame* Frame = new TestWx1Frame(0);
    	Frame->Show();
    	SetTopWindow(Frame);
    }
    //*)
    return wxsOK;

}
